package com.woniu.cms.goods.core.service;

import com.woniu.cms.goods.core.entity.GoodsGetbill;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.cms.goods.core.entity.GoodsGetbillMaterial;
import com.woniu.common.api.Result;

import java.util.List;

/**
 * <p>
 * 入库单表 服务类
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-16
 */
public interface IGoodsGetbillService extends IService<GoodsGetbill> {


    Result addGetbill(GoodsGetbill getbill, List<GoodsGetbillMaterial> list);

    Result deleteGetbill(Integer id, Integer status);

    Result updateGetbill(GoodsGetbill getbill, List<GoodsGetbillMaterial> list);

    Result commitGetbill(GoodsGetbill getbill, List<GoodsGetbillMaterial> list);

}
